/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.template;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/10 0:44
 */
public class A extends AbstractTemplate {
    @Override
    protected void method1() {
        System.out.println("method1 in A");
    }

    @Override
    protected void method2() {
        System.out.println("method2 in A");
    }

    @Override
    protected boolean hookMethod() {
        return false;
    }
}
